package com.piggy.logi.sys.service;


import com.piggy.logi.sys.bo.LogiCarrierContractEditBo;
import com.piggy.logi.sys.domain.LogiCarrierContract;
import com.piggy.common.core.web.page.IServicePlus;
import com.piggy.logi.sys.vo.LogiCarrierContractVo;

import java.util.List;

/**
 * 承运商合同Service接口
 */
public interface ILogiCarrierContractService extends IServicePlus<LogiCarrierContract> {

    /**
     * 获取承运商合同信息
     */
    List<LogiCarrierContractVo> getByCarrierId(Long carrierId);
    /**
     * 获取承运商合同信息
     */
    List<LogiCarrierContractVo> getByCarrierIds(List<Long> carrierIds);

    void updateContract(Long carrierId, List<LogiCarrierContractEditBo> carrierContractList);
}
